<article class="module width_full">
	<header><h3 class="tabs_involved">Grupos</h3></header>
	<table class="tablesorter" cellspacing="0"> 
	<thead> 
		<tr>
			<th><?php echo $this->Paginator->sort('id'); ?></th>
			<th><?php echo $this->Paginator->sort('name'); ?></th>
			<th><?php echo $this->Paginator->sort('created'); ?></th>
			<th><?php echo $this->Paginator->sort('modified'); ?></th>
			<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	</thead> 
	<tbody> 
		<?php
	foreach ($groups as $group): ?>
	<tr>
		<td><?php echo h($group['Group']['id']); ?>&nbsp;</td>
		<td><?php echo h($group['Group']['name']); ?>&nbsp;</td>
		<td><?php echo h($group['Group']['created']); ?>&nbsp;</td>
		<td><?php echo h($group['Group']['modified']); ?>&nbsp;</td>
		<td class="actions">
			<a href="<?php echo $this->Html->url(array('action' => 'view',  $group['Group']['id'])) ?>"><img src="<?php echo $this->Html->url('/html5/images/icn_alert_info.png') ?>" /></a>
			<a href="<?php echo $this->Html->url(array('action' => 'edit',  $group['Group']['id'])) ?>"><img src="<?php echo $this->Html->url('/html5/images/icn_edit.png') ?>" /></a>
			<?php echo html_entity_decode($this->Form->postLink("<img src=\"".$this->Html->url('/html5/images/icn_trash.png')."\" />", array('action' => 'delete',  $group['Group']['id']), null, __('Are you sure you want to delete # %s?', $group['Group']['id']))); ?>
		</td>
	</tr>
	<?php endforeach; ?>
	</tbody> 
	</table>
	<div class="module_content">
		<p>
		<?php
		echo $this->Paginator->counter(array(
		'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
		));
		?>	</p>

		<div class="paging">
		<?php
			echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
			echo $this->Paginator->numbers(array('separator' => ''));
			echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
		?>
		</div>
	</div>
</article>